package com.junzhiit.nengji.api.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.junzhiit.nengji.api.service.SystemConfigService;
import com.junzhiit.nengji.api.web.vo.ResultVO;
import com.junzhiit.nengji.dao.SystemConfigDAO;
import com.junzhiit.nengji.model.SystemConfig;

@Service
public class SystemConfigServiceImpl extends BaseServiceImpl implements SystemConfigService {

	@Autowired
	private SystemConfigDAO systemConfigDAO;
	
	@Override
	public ResultVO get() {
		ResultVO result = new ResultVO();
		SystemConfig systemConfig = systemConfigDAO.find();
		result.setData(systemConfig);
		return result;
	}

}
